package vashion.azeroth.core.personal.tran.pojo;

import java.math.BigDecimal;
import java.util.Date;

import vashion.azeroth.common.date.DateUtil;
import vashion.azeroth.common.math.BigDecimalUtil;
import vashion.azeroth.core.pojo.BaseObject;
import vashion.azeroth.core.support.StatusNameTransform;

public class PersonalRechargeOrder extends BaseObject {

	private static final long serialVersionUID = -2903029966809201997L;

	private String rechargeOrderNo;

    private Long memberId;

    private String memberName;

    private long amount;

    private Integer status;

    private String modeName;

    private String outOrderNo;

    private String disburseNo;

    private Date timeAdd;

    private Date timeFinished;

    private String addition1;

    private String addition2;

    private String addition3;

    private String remark;
    
    private String startTime;
    
    private String endTime;
    
    private Integer rechargeType;
    
    private String pingxxId;
    
    public String getTimeFinishedStr() {
    	return DateUtil.ymdhmsFormat(timeFinished);
    }
    
    public String getStatusName() {
    	return StatusNameTransform.getRechargeOrderStatusName(status);
    }
    
    public String getAmountStr() {
    	return BigDecimalUtil.divide(new BigDecimal(amount), new BigDecimal(100)).toString();
    }

    public String getRechargeOrderNo() {
        return rechargeOrderNo;
    }

    public void setRechargeOrderNo(String rechargeOrderNo) {
        this.rechargeOrderNo = rechargeOrderNo;
    }

    public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName;
    }

    public String getOutOrderNo() {
        return outOrderNo;
    }

    public void setOutOrderNo(String outOrderNo) {
        this.outOrderNo = outOrderNo;
    }


    public String getDisburseNo() {
		return disburseNo;
	}

	public void setDisburseNo(String disburseNo) {
		this.disburseNo = disburseNo;
	}

	public Date getTimeAdd() {
        return timeAdd;
    }

    public void setTimeAdd(Date timeAdd) {
        this.timeAdd = timeAdd;
    }

    public Date getTimeFinished() {
        return timeFinished;
    }

    public void setTimeFinished(Date timeFinished) {
        this.timeFinished = timeFinished;
    }

    public String getAddition1() {
        return addition1;
    }

    public void setAddition1(String addition1) {
        this.addition1 = addition1;
    }

    public String getAddition2() {
        return addition2;
    }

    public void setAddition2(String addition2) {
        this.addition2 = addition2;
    }

    public String getAddition3() {
        return addition3;
    }

    public void setAddition3(String addition3) {
        this.addition3 = addition3;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getRechargeType() {
		return rechargeType;
	}

	public void setRechargeType(Integer rechargeType) {
		this.rechargeType = rechargeType;
	}

	public String getPingxxId() {
		return pingxxId;
	}

	public void setPingxxId(String pingxxId) {
		this.pingxxId = pingxxId;
	}
    
}